package com.wlyuan.open.dto.tenant;

import com.wlyuan.open.dto.OpenTenantSyncDTO;
import com.wlyuan.open.dto.tenant.driver.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lijing
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OpenDriverTenantSyncDTO extends OpenTenantSyncDTO implements Serializable {

    private static final long serialVersionUID = 5838426147152286916L;
    @ApiModelProperty("性别")
    private Integer gender;
    @ApiModelProperty("昵称")
    private String nick;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("微信openId")
    private String openId;
    @ApiModelProperty("微信appId")
    private String wxAppId;

    @ApiModelProperty("个人身份信息")
    private DriverTenantPersonDTO driverPerson;
    @ApiModelProperty("驾驶证信息")
    private DriverTenantLicenseDTO driverLicense;
    @ApiModelProperty("行驶证信息")
    private DrivingTenantLicenseDTO drivingLicense;
    @ApiModelProperty("驾驶证信息")
    private DriverTenantTransportCertDTO transportCert;
    @ApiModelProperty("车辆信息")
    private DriverTenantVehicleDTO vehicle;

    private LocalDateTime createAt;
    private LocalDateTime updateAt;
    private Long createBy;
    private Long updateBy;

}
